package com.shensi.appCollect.dao;


import com.shensi.api.admin.domian.integral.dto.CustomerPointsRecord;

import java.util.List;

public interface CustomerPointsRecordMapper {
    //获取用户积分信息
    List<CustomerPointsRecord> getCustomerPointsRecordList(CustomerPointsRecord customerPointsRecord);

    //插入用户积分信息
    void insertCustomerPointsRecordInfo(CustomerPointsRecord customerPointsRecord);

    //获取用户积分记录
    List<CustomerPointsRecord> getUserIntegralDetailList(CustomerPointsRecord customerPointsRecord);

    /**
     *  更新积分
     */
    Integer updateIntegral(Integer enterpriseId,String mobilePhone, String memberCode,Integer newPoints);

    CustomerPointsRecord getOne(CustomerPointsRecord record);
}
